<template>
	<view>
		<view v-if="commonStore.preventViewflag" class="prevent-view" @click="hideView"></view>
	</view>
</template>
<script setup lang="ts">
import useCommonStore from "@/store/common"

const commonStore = useCommonStore()
const hideView = () => {
	commonStore.updatePreventViewFlag(false)
}
</script>
<style scoped lang="scss">
.prevent-view {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
</style>
